package financial.sharing.center.system.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.system.model.entity.BusinessLine;

import java.util.List;
import java.util.Map;

/**
 * @ClassName BusniessLineService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface BusinessLineService {
    
    PageInfo<BusinessLine> getAllBusinessLine(String selectBusinessLineName, String selectSubCompany, String selectDepartment);

    Integer createOneBusinessLine(String businessLineName, String subCompany, String department, String note);

    Integer compileOneBusinessLine(BusinessLine businessLine);

    Integer deleteOneBusinessLine(Integer id);

    List<BusinessLine> getListBusinessLine();

    Map<Integer, String> getMapBusinessLine();
}
